import { Module } from '@nestjs/common';
import { DeptsService } from './depts.service';
import { DeptsController } from './depts.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SysDept } from './entities/dept.entity';

@Module({
  imports: [TypeOrmModule.forFeature([SysDept])],
  controllers: [DeptsController],
  providers: [DeptsService],
})
export class DeptsModule {}
